<%@page import="java.util.TreeMap"%>
<%@page import="java.util.Iterator"%>
<%@page import="java.util.ArrayList"%>
<%@page import="java.util.List"%>
<%@page import="masterlink.bean.OrdersBean"%>
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%
	String pipe="|";
	TreeMap<Integer,Object> m = (TreeMap<Integer,Object>)request.getAttribute("m");
	if(m==null||m.isEmpty()){
		return;	
	}
	out.clear();
	Iterator<Integer>   it   = m.keySet().iterator();   
	Iterator myvalues=m.values().iterator();
	while   (it.hasNext())   {   
	    Object   key   =   it.next();   
	    Object value=myvalues.next();
	    int b[]=(int[])value;
	    out.print(pipe+key.toString()+pipe);
	    float f1,f2,f3,f4;
	    f1=(float)b[1]/100;
	    f2=(float)b[3]/100;
	    f3=(float)b[5]/100;
	    f4=(float)b[7]/100;
	    out.println(b[0]+pipe+f1+pipe+b[2]+pipe+f2+pipe+b[4]+pipe+f3+pipe+b[6]+pipe+f4+pipe);
	}
	
%>